package homework.test6;

public class Demo5 {
    public static void main(String[] args) {
        BaseTeacher baseTeacher = new BaseTeacher("张三","23");
        WorkTeacher workTeacher = new WorkTeacher("李四","24");

        baseTeacher.show();
        baseTeacher.teach();
        System.out.println();
        workTeacher.show();
        workTeacher.teach();
    }
}
